LEADTOOLS Forms (Leadtools.Forms.Processing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Process(RasterImage,IList<PageAlignment>) Method
See Also 
Leadtools.Forms.Processing Namespace > FormProcessingEngine Class > Process Method : Process(RasterImage,IList<PageAlignment>) Method



form
Form image.
formAlignment
A value that indicates the Form Alignment. It aligns Master Form's fields to this form field. If it is null fields will be aligned depending on the image resolution.

The Process(RasterImage,IList<PageAlignment>) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

form
Form image.
formAlignment
A value that indicates the Form Alignment. It aligns Master Form's fields to this form field. If it is null fields will be aligned depending on the image resolution.
Performs field processing on the form image.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Process( _
   ByVal form As RasterImage, _
   ByVal formAlignment As IList(Of PageAlignment) _
) 
Visual Basic (Usage)Copy Code
Dim instance As FormProcessingEngine
Dim form As RasterImage
Dim formAlignment As IList(Of PageAlignment)
 
instance.Process(form, formAlignment)
C# 
public void Process( 
   RasterImage form,
   IList<PageAlignment> formAlignment
)
C++/CLI 
public:
void Process( 
   RasterImage^ form,
   IList<PageAlignment^>^ formAlignment
) 

Parameters

form
Form image.
formAlignment
A value that indicates the Form Alignment. It aligns Master Form's fields to this form field. If it is null fields will be aligned depending on the image resolution.

Example

For a complete example on using the forms recognition and processing, refer to the FormProcessingEngine example.

This example processes form.

Visual BasicCopy Code
'''This method processes the recognized form.
Public Sub ProcessForm(ByVal processingEngine As FormProcessingEngine, ByVal form As MyForm)
   form.ProcessingPages = CType(form.Master.ProcessingPages.GetRange(0, form.Master.ProcessingPages.Count), FormPages)
   processingEngine.Pages.Clear()
   processingEngine.Pages.AddRange(form.ProcessingPages)
   processingEngine.Process(form.Image, form.Alignment)
End Sub
C#Copy Code
///This method processes the recognized form.
public void ProcessForm(FormProcessingEngine processingEngine, MyForm form)
{
   form.ProcessingPages = (FormPages)form.Master.ProcessingPages.GetRange(0, form.Master.ProcessingPages.Count);
   processingEngine.Pages.Clear();
   processingEngine.Pages.AddRange(form.ProcessingPages);
   processingEngine.Process(form.Image, form.Alignment);
}

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features